package co.yixiang.weixin.biz.service;

import co.yixiang.weixin.biz.config.WxMaConfiguration;
import co.yixiang.weixin.biz.config.WxMpConfiguration;
import co.yixiang.weixin.biz.config.WxPayConfiguration;
import org.springframework.stereotype.Service;

@Service
public class WxConfigService {

    public void refreshAllWxConfig(){
        WxMpConfiguration.removeWxMpService();
        WxPayConfiguration.removeWxPayService();
        WxMaConfiguration.removeWxMaService();
    }

    public void refreshWxPayConfig(){
        WxPayConfiguration.removeWxPayService();
    }



}
